package conmon

import (
	"crypto/md5"
	"encoding/hex"
)

func Md5(password string) string {
	hash := md5.New()
	hash.Write([]byte(password))
	h := hash.Sum(nil)
	str := hex.EncodeToString(h)
	return str
}
